﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;
using System.Web;

namespace RuiciWebSite.Models
{
    /// <summary>
    /// 登录视图模型
    /// </summary>
    public class LoginViewModel
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 密码
        /// </summary>

        public string Password { get; set; }
        /// <summary>
        /// 登录吗
        /// </summary>
        public string LoginCode { get; set; }
        /// <summary>
        /// 记住自己
        /// </summary>

        public bool RememberMe { get; set; }

        
    }
    /// <summary>
    /// 注册视图模型
    /// </summary>
    public class RegisterViewModel
    {
        /// <summary>
        /// 访问者Id
        /// </summary>
        public int visitId { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 原密码
        /// </summary>

        public string originalPwd { get; set; }
        /// <summary>
        /// 现密码
        /// </summary>

        public string Password { get; set; }

        /// <summary>
        /// 确认密码
        /// </summary>
        public string confirmPwd { get; set; }
        /// <summary>
        /// 验证码
        /// </summary>

        public string ValidateCode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>

        public int Gender { get; set; }
        /// <summary>
        /// 证书代码
        /// </summary>

        public string CertCode { get; set; }
        /// <summary>
        /// 头像URL
        /// </summary>

        public string picUrl { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool IsDefault { get; set; }
        /// <summary>
        /// 文件
        /// </summary>

        public string File {get; set;}
    }
    /// <summary>
    /// 访问者信息
    /// </summary>
    public class ReservisionInfo
    {
        /// <summary>
        /// 访问者Id
        /// </summary>
        public int visitID { get; set; }
        /// <summary>
        /// 存储日期
        /// </summary>
        public ReservDate reservDate { get; set; }
        /// <summary>
        /// 专家
        /// </summary>
        public Doctor expert { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public Address addr { get; set; }
        /// <summary>
        ///病人
        /// </summary>
        public string patient { get; set; }
        /// <summary>
        /// 费用
        /// </summary>
        public string Fee { get; set; }
        /// <summary>
        /// 提交-操作
        /// </summary>
        public ActionButton btn { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
    }
    /// <summary>
    /// 存储日期
    /// </summary>
    public class ReservDate
    {
        public string Date { get; set; }

        public string Time { get; set; }
    }
    /// <summary>
    /// 医生信息
    /// </summary>
    public class Doctor
    {
        /// <summary>
        /// 医生标识
        /// </summary>
        public int DoctorId { get; set; }
        /// <summary>
        /// 医生姓名
        /// </summary>
        public string DoctorName { get; set; }
        /// <summary>
        /// 访问类型
        /// </summary>
        public VisitType visitType { get; set; }
        /// <summary>
        /// 医生职称
        /// </summary>
        public string DoctorTitle { get; set; }
        /// <summary>
        /// 医生科室
        /// </summary>
        public string DoctorDepartment { get; set; }
    }
    /// <summary>
    /// 访问类型
    /// </summary>
    public class VisitType
    {
        /// <summary>
        /// 类型名称
        /// </summary>
        public string TypeName { get; set;}

        public bool TypeCls { get; set; }
    }
    /// <summary>
    /// 文件信息模型
    /// </summary>
    public class FileInfoModel
    {
        /// <summary>
        /// 文件名
        /// </summary>
        public string fileName { get; set; }
        /// <summary>
        /// 文件内容
        /// </summary>
        public string htmlContent { get; set; }
    }
    /// <summary>
    /// 地址
    /// </summary>
    public class Address
    {
        /// <summary>
        /// 医院唯一标识
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 医院地址
        /// </summary>

        public string HospitalAddress { get; set; }
        /// <summary>
        /// 医院名
        /// </summary>

        public string HospitalName { get; set; }
    }
    /// <summary>
    /// 操作按钮
    /// </summary>
    public class ActionButton
    {
        public string ActionnName { get; set; }

        public string ButtonClass { get; set; }
    }
    /// <summary>
    /// 病人访问模型
    /// </summary>
    public class PatientVisitorModel
    {
        /// <summary>
        /// 访问者唯一标识
        /// </summary>
        public int visitID { get; set; }
        /// <summary>
        /// 编辑名称
        /// </summary>
        public string editName { get; set; }
        /// <summary>
        /// 编辑电话
        /// </summary>
        public string editPhone { get; set; }
        /// <summary>
        /// 编辑代码
        /// </summary>
        public string editCode { get; set; }
        /// <summary>
        /// 编辑身份证
        /// </summary>
        public string editCard { get; set; }
        /// <summary>
        /// 默认编辑
        /// </summary>
        public bool editDefault { get; set; }
        /// <summary>
        /// 设置默认值
        /// </summary>
        public bool fromSetDefault { get; set; }
    }
    /// <summary>
    /// 病人信息
    /// </summary>
    public class PatientInfoModel
    {
        /// <summary>
        /// 病例唯一标识
        /// </summary>
        public string caseId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int pid { get; set; }
        /// <summary>
        /// 访问者标识
        /// </summary>
        public int visitId { get; set; }
        /// <summary>
        /// 病例名
        /// </summary>
        public string caseName { get; set; }
        /// <summary>
        /// 访问者名称
        /// </summary>
        public string visitName { get; set; }
        /// <summary>
        /// 访问日期
        /// </summary>
        public DateTime visitDate { get; set; }
        /// <summary>
        /// 访问年分
        /// </summary>
        public string visitYear { get; set; }
        /// <summary>
        /// 访问月份
        /// </summary>
        public string visitMonthDay{ get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OrgId { get; set; }
        /// <summary>
        /// 科室
        /// </summary>
        public string department { get; set; }
        /// <summary>
        /// 照片
        /// </summary>
        public string photoPicUrl { get; set; }

        public string title { get; set; }
        /// <summary>
        /// 医生唯一标识
        /// </summary>
        public string doctorId { get; set; }
        /// <summary>
        /// 医生姓名
        /// </summary>
        public string doctorName { get; set; }  
        /// <summary>
        /// 访问类型
        /// </summary>
        public string visitType { get; set; }
        /// <summary>
        /// 诊断结果
        /// </summary>
        public string diagnosicResult { get; set; }
        /// <summary>
        /// 症状
        /// </summary>
        public string symptom { get; set; }
        /// <summary>
        /// 病史
        /// </summary>
        public string medicalHistory { get; set; }
        /// <summary>
        ///建议
        /// </summary>
        public string advise { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public string price { get; set; }
       
    }
    /// <summary>
    /// 案例报告
    /// </summary>
    public class CaseReportInfo
    {
        /// <summary>
        /// 报告唯一标识
        /// </summary>
        public int reportId { get; set; }
        /// <summary>
        /// 报告名称
        /// </summary>
        public string reportName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int orgid { get; set; }
        /// <summary>
        /// 医院
        /// </summary>
        public string hospital { get; set; }
        /// <summary>
        /// 报告类型
        /// </summary>
        public string ReportType { get; set; }
        /// <summary>
        /// 实例
        /// </summary>
        public string instance { get; set; }
        /// <summary>
        /// 检查单位
        /// </summary>
        public string checkUnit { get; set; }
        /// <summary>
        /// 案例唯一标识
        /// </summary>
        public int caseId { get; set; }
        /// <summary>
        /// 报告日期
        /// </summary>
        public string reportDate { get; set; }

        public int pid { get; set; }
        /// <summary>
        /// 检查部门
        /// </summary>
        public string checkDepartment { get; set; }
        /// <summary>
        /// 文件大小
        /// </summary>
        public long fileSize { get; set; }

    }
    /// <summary>
    /// 家庭成员模型
    /// </summary>
    public class FamilyMemberModel
    {
        public int Id { get; set; }

        public int Pid { get; set; }
        /// <summary>
        /// 家庭成员id
        /// </summary>
        public Nullable<int> FamilyPID { get; set; }
        /// <summary>
        /// 关系
        /// </summary>
        public string Relationship { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        public Nullable<DateTime> Birthday { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public Nullable<int>  Age { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool IsDefault { get; set; }
        /// <summary>
        /// 家庭名
        /// </summary>
        public string FamilyName { get; set; }
        /// <summary>
        /// 家庭手机
        /// </summary>
        public string FamilyMobile { get; set; }
        /// <summary>
        /// 家庭地址
        /// </summary>
        public string FamilyAddress { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Gender { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IDCardNo { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }
    }
   
}
